home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / PredatorPrey / WindowAids.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-22  |  1.7 KB  |  63 lines  |  [TEXT/KAHL]

  1. /* WindowAids.h */
  2.  
  3. #ifndef __WA__
  4. #define __WA__
  5.  
  6. extern short        textJust;        /* set by SetWFont */
  7.  
  8. /*----------*/
  9. void    WindowAidsSeg    (void);
  10. void    GetWRect        (short            itemNr,
  11.                          Rect            *itemRect);
  12. void    SetWFont        (short            itemNr);
  13. WindowPtr GetWindow        (short            windowID);
  14. ListHandle NewV1List    (Rect            bounds,
  15.                           WindowPtr        parentWindow);
  16. ListHandle NewV1SList    (Rect            bounds,
  17.                           WindowPtr        parentWindow);
  18. Boolean    GetListChoice    (short            *choice,
  19.                          ListHandle        list);
  20. void    SetListChoice    (short            choice,
  21.                          ListHandle        list);
  22. void    GetListRow        (Str255            data,
  23.                          short            index,
  24.                          ListHandle        list);
  25. void    SetListRow        (Str255            data,
  26.                          short            index,
  27.                          ListHandle        list);
  28. void    AddToList        (Str255            data,
  29.                          ListHandle        list);
  30. void    DrawList        (ListHandle        list);
  31. void    TextIDBox        (short            textID,
  32.                          Rect            bounds);
  33. //void    PlotIconID        (short            iconID,
  34. //                         Rect            bounds);
  35. void    DrawPictureID    (short            pictID,
  36.                          Rect            bounds);
  37. void    DrawGrayLine    (Rect            bounds);
  38. void    UpdatePopup        (Rect            bounds,
  39.                          short            menuID,
  40.                          short            choice);
  41. void    TrackPopup        (Rect            bounds,
  42.                          short            menuID,
  43.                          short            *choice);
  44. Boolean TrackButton        (ControlHandle    button,
  45.                          Point            mousePos);
  46. void    TrackCheck        (ControlHandle    checkBox,
  47.                          Point            mousePos,
  48.                          Boolean        *checked);
  49. void    TrackRadio        (ControlHandle    radio,
  50.                          Point            mousePos,
  51.                          short            *choice);
  52. void    TrackMulti        (ControlHandle    multi,
  53.                          Point            mousePos,
  54.                          short            *value);
  55. void    TrackPalette    (ControlHandle    palette,
  56.                          Point            mousePos,
  57.                          short            *choice);
  58. void    EnableControl    (ControlHandle    theControl,
  59.                          Boolean        active);
  60. void    HiliteScroll    (ControlHandle    scroll,
  61.                          Boolean        active);
  62.  
  63. #endif    /*    __WA__    */